#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;

class Point
{
private:
    int x;
    int y;

public:
    void set(int m_x, int m_y);
    int getX();
    int getY();
};

void Point::set(int m_x, int m_y)
{
    x = m_x;
    y = m_y;
}

int Point::getX()
{
    return x;
}

int Point::getY()
{
    return y;
}

class Circle
{
private:
    int x;
    int y;
    int r;

public:
    void setCenter(int m_x, int m_y);
    void setRadius(int m_r);
    double getArea();
    double getLength();
    void compare(double x1, double y1);
};

void Circle::setCenter(int m_x, int m_y)
{

    x = m_x;
    y = m_y;
}

void Circle::setRadius(int m_r)
{
    r = m_r;
}

double Circle::getArea()
{
    return 3.14 * r * r;
}

double Circle::getLength()
{
    return 2 * 3.14 * r;
}

void Circle::compare(double x1, double y1)
{
    double distance = pow(pow((x - x1), 2) + pow((y - y1), 2), 0.5);
    if (distance <= r)
    {
        cout << "yes";
    }
    else
    {
        cout << "no";
    }
}

int main()
{
    Circle p;
    Point q;

    int x, y, r;
    cin >> x >> y;

    p.setCenter(x, y);
    cin >> r;
    p.setRadius(r);
    cin >> x >> y;
    q.set(x, y);
    cout << p.getArea() << " " << p.getLength() << endl;
    p.compare(q.getX(), q.getY());
    return 0;
}

/*

*/